<?php
class Form_Status extends Zend_Form
{
    public function __construct ()
    {
        $this->setName('form_status');
        parent::__construct();
        $status = new Zend_Form_Element_Text('status');
        $status->setLabel('Status (Max value 33)')
            ->setRequired(true)
            ->addValidator('NotEmpty')
            ->addFilter('StringTrim')
            ->addFilter('StripTags')
            ->setAttrib('maxLength', 33);
        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setLabel('Change');
        $this->addElements(array($status, $submit));
    }
}
?>

